package entity;

import java.util.Map;

public class Task {
	private int id;
	private String name;
	private int status;//0 started 1 stopped 2 down 3 failed
	private Map<Integer,Job> jobs;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public Map<Integer, Job> getJobs() {
		return jobs;
	}
	public void setJobs(Map<Integer, Job> jobs) {
		this.jobs = jobs;
	}
}
